package com.bingxue.edu.common.enums;

import com.bingxue.edu.framework.enums.Dict;
import com.bingxue.edu.framework.enums.DictEnum;
import com.fasterxml.jackson.annotation.JsonValue;
import com.mybatisflex.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 报名变更类型
 * @author panbo
 * @since 2024/8/1
 */
@Getter
@AllArgsConstructor
@Dict("变更类型")
public enum ChangeTypeEnum implements DictEnum<String> {
    NEW_ENROLL("NEW_ENROLL", "报名"),
    ADD_LESSON("ADD_LESSON", "续费"),
    CHANGE_CLASS("CHANGE_CLASS", "转班"),
    CHANGE_LESSON("CHANGE_LESSON", "调课"),
    CANCEL_CLASS("CANCEL_CLASS", "退班"),
    CANCEL_LESSON("CANCEL_LESSON", "退课"),
    ;
    @JsonValue
    @EnumValue
    private final String value;
    private final String label;
}
